package org.example.smartbuy.service;

import org.example.smartbuy.entity.Inventory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Smarty Buy
 * @since 2024-11-18
 */
public interface IInventoryService extends IService<Inventory> {
    List<Inventory> listAll();

    Inventory add(Inventory inventory);

    Inventory update(Inventory inventory, int adminId);

}
